package com.hdoit.ares.logical.order.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import com.tennetcn.common.message.ModelBase;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年02月06日 11:00:28
 * @comment
 */
@Entity
@Table(name="order_goods_info")
public class OrderGoods extends ModelBase{
    //主键id
    @Id
    @Column(name="id")
    private String id;

    //订单id
    @Column(name="orderId")
    private String orderId;

    //商品id
    @Column(name="goodsId")
    private String goodsId;

    //数量
    @Column(name="count")
    private int count;

    //价格
    @Column(name="price")
    private double price;

    //名称
    @Column(name="name")
    private String name;

    //描述
    @Column(name="description")
    private String description;

    //类型
    @Column(name="type")
    private String type;

    //商品标识
    @Column(name="goodsMark")
    private String goodsMark;

    //subType
    @Column(name="subType")
    private String subType;

    public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getOrderId(){
        return this.orderId;
    }
    public void setOrderId(String orderId){
         this.orderId=orderId;
    }

    public String getGoodsId(){
        return this.goodsId;
    }
    public void setGoodsId(String goodsId){
         this.goodsId=goodsId;
    }

    public int getCount(){
        return this.count;
    }
    public void setCount(int count){
         this.count=count;
    }

    public double getPrice(){
        return this.price;
    }
    public void setPrice(double price){
         this.price=price;
    }

    public String getName(){
        return this.name;
    }
    public void setName(String name){
         this.name=name;
    }

    public String getDescription(){
        return this.description;
    }
    public void setDescription(String description){
         this.description=description;
    }

    public String getType(){
        return this.type;
    }
    public void setType(String type){
         this.type=type;
    }

    public String getGoodsMark(){
        return this.goodsMark;
    }
    public void setGoodsMark(String goodsMark){
         this.goodsMark=goodsMark;
    }

    public String getSubType(){
        return this.subType;
    }
    public void setSubType(String subType){
         this.subType=subType;
    }

}